package com.hibiscusking.org.mapper;

import com.hibiscusking.org.domain.Shop;
import com.hibiscusking.basic.mapper.BaseMapper;
import com.hibiscusking.org.vo.ShopVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hibiscusking
 * @since 2022-10-15
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findName(String name);

    Shop findShopAndEmpById(Long id);

    void addShops(List<Shop> shops);

    List<ShopVo> shopReportForm();

    void updateShopByAdminId(Shop shop);
}
